package com.ikingtech.platform.service.application.entity;

import com.baomidou.mybatisplus.annotation.TableField;
import com.baomidou.mybatisplus.annotation.TableName;
import com.ikingtech.framework.sdk.data.entity.BaseEntity;
import lombok.Data;
import lombok.EqualsAndHashCode;

import java.io.Serial;
import java.io.Serializable;

/**
 * @author tie yan
 */
@Data
@EqualsAndHashCode(callSuper = true)
@TableName("application_model_relation")
public class ApplicationModelRelationDO extends BaseEntity implements Serializable {

    @Serial
    private static final long serialVersionUID = -6357529658494950313L;

    @TableField("tenant_code")
    private String tenantCode;

    @TableField("model_id")
    private String modelId;

    @TableField("master_model_id")
    private String masterModelId;

    @TableField("foreign_key_field_id")
    private String foreignKeyFieldId;
}
